<?php
$host='localhost';
$user='root';
$pass='';
$db='ci-intro';

//Database Change FROM xxx TO ci-intro


try
{
    $dbc= new PDO("mysql:host=$host;dbname=$db",$user,$pass);    
}
    catch(PDOException $e)
    {
        echo $e->getMessage();
    }

?>